package views;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;

public class FoglaloKarbantartasView extends Composite {
	private Text txtFoglaloNev;
	private Text txtKtsTermekid;
	private Text txtKltsgvisel;
	private Button btnMents;
	private Button btnMgse;
	private Button cbkBelsoe;

	public FoglaloKarbantartasView(Composite arg0, int arg1) {
		super(arg0, SWT.BORDER);
		setLayout(new GridLayout(3, true));

		Label lblFoglaloNev = new Label(this, SWT.NONE);
		lblFoglaloNev.setText("Foglal\u00F3 neve:");

		txtFoglaloNev = new Text(this, SWT.BORDER);
		txtFoglaloNev.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
				false, 2, 1));

		Label lblBelsoe = new Label(this, SWT.NONE);
		lblBelsoe.setText("Bels\u0151:");

		cbkBelsoe = new Button(this, SWT.CHECK);
		cbkBelsoe.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
				false, 2, 1));

		Label lblKtsTermekid = new Label(this, SWT.NONE);
		lblKtsTermekid.setText("K\u00F6lts\u00E9g/Term\u00E9k ID:");

		txtKtsTermekid = new Text(this, SWT.BORDER);
		txtKtsTermekid.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
				false, 2, 1));

		Label lblKltsgvisel = new Label(this, SWT.NONE);
		lblKltsgvisel.setText("K\u00F6lts\u00E9gvisel\u0151: ");

		txtKltsgvisel = new Text(this, SWT.BORDER);
		txtKltsgvisel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
				false, 2, 1));
		new Label(this, SWT.NONE);
		new Label(this, SWT.NONE);
		new Label(this, SWT.NONE);

		btnMents = new Button(this, SWT.NONE);
		btnMents.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
				false, 1, 1));
		btnMents.setText("Ment\u00E9s");
		new Label(this, SWT.NONE);

		btnMgse = new Button(this, SWT.NONE);
		btnMgse.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
				false, 1, 1));
		btnMgse.setText("M\u00E9gse");
	}

	public Text getTxtFoglaloNev() {
		return txtFoglaloNev;
	}

	public Text getTxtKtsTermekid() {
		return txtKtsTermekid;
	}

	public Text getTxtKltsgvisel() {
		return txtKltsgvisel;
	}

	public Button getBtnMents() {
		return btnMents;
	}

	public Button getBtnMgse() {
		return btnMgse;
	}

	public Button getCbkBelsoe() {
		return cbkBelsoe;
	}

}
